﻿
using HBase;

namespace hCommand {
    public class CoreWhLoc :BaseEntity {
        public byte craneId {
            get; set;
        }
        public byte ShelfId {
            get; set;
        }
        public long areaId {
            get; set;
        }
        public byte RowNo {
            get; set;
        }
        public byte ColNo {
            get; set;
        }
        /// <summary>
        ///   类型id 1 X不变，Z不变 单深  2 X不变双深  Z多变 双深或多深，考虑深浅货位取放货关系
        /// </summary>
        public byte type {
            get; set;
        }
        public int orderNo {
            get; set;
        }
        public byte ActiveStatus {
            get; set;
        }

        /// <summary>
        /// 浅货位 为1，依次远离货叉位，type 为2或者4 有效
        /// </summary>
        public byte deepIndex {
            get; set;
        }
        /// <summary>
        /// 最大货物可存量
        /// </summary>
        public byte Maxstock {
            get; set;
        }
        /// <summary>
        /// 当前货物存量
        /// </summary>
        public byte countStock {
            get; set;
        }
        public byte moveGroup {
            get; set;
        }
        /// <summary>
        /// 货物是否不同
        /// </summary>
        public long goodsDiff {
            get; set;
        }
        /// <summary>
        /// 工作出库的数量
        /// </summary>
        public byte countIn {
            get; set;
        }

        public byte countOut {
            get; set;
        }
        public byte countOutin {
            get; set;
        }
        public int scr { get; set; }
        public int x { get; set; }
        public int y { get; set; }
        public int z { get; set; }
        public int workingCount() {
            return countOut + countOutin + countIn;
        }
    }
}
